package net.melon.sso.inst.ssh.web;

import javax.annotation.Resource;

import net.esj.basic.view.AbstractPluginPageAction;
import net.melon.sso.pojo.MemberType;
import net.melon.sso.service.SSOManage;

public class MemberTypeAction extends AbstractPluginPageAction<MemberType, MemberType> {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -985790425049422867L;

	@Resource
	private SSOManage ssoManage;
	
	@Override
	protected void doDelete() throws Exception {
		ssoManage.deleteMemberType(id);
	}

	public void setEntity(MemberType entity){
		this.entity = entity;
	}
	
	public MemberType getEntity(){
		return entity;
	}
	
}
